package com.example.kindergarten.dto

import io.swagger.annotations.ApiModelProperty
import javax.validation.constraints.NotNull

// 必填Id
open class IdRequiredDto(
    @ApiModelProperty(value = "表的id", required = true, notes = "表id", example = "1")
    @field: NotNull(message = "书的唯一ID不能为空")
    var id: Int? = null
)